package org.example.dao;

import org.example.pojo.Department;

import java.util.List;

public interface DepartmentDao {
    List<Department> queryAll();
    List<Department> queryByCondition(Department department);

    Boolean insert(Department department);
    Boolean delete(int account);
    Boolean update(Department department);
}
